 |
 |
 |
 |
#146199 - 08/12/01 04:56 AM
[6.1x] Chat Mod v1.2.1
|
Admin / Code Breaker
Registered: 03/24/01
Posts: 7396
|
My first mod, ported to 6.1 Here we go: Name: Chat Mod Description: Lets you chat with jIRC. It has full CP support, it's 100% wordletized, it automatically gets the nick of the user/GuestXXXXX (5 random digits) if it's a guest, replaces smilies with real smilies, notifies Who's Online, shows how many people are currently chatting (by Who's Online) and even invites people to the chatroom (thanks to Olson). Demo: http://www.lkubb.dns2go.com Link: ZIP File or MultiHack File Requirements: UBB™ 6.1 Beta Release 2.0 , Mod Wordlets 1.5 , jPilot License (unless you want to see an "unregistered" line after every line) Special thanks to: Ryan Olson for Invitation Script, qasic and Borg for Who's Online, dj_rava for the Admin Command Buttons idea and Troy for MultiHack and supporting me all the way  . Screenshots: Forum Summary , Chat Window , CP
_________________________
My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146217 - 08/23/01 10:58 AM
Re: [6.1x] Chat Mod v1.2.1
|
Member
Registered: 06/14/01
Posts: 164
|
LK, I'm having a couple problems. Let me know what you can do... First) In the CP, I click on Chat Settings, and I get this error: quote:</font><hr> An error has occured:
/home/web/legendz/public_html/cgi-bin/vars_chat.cgi: syntax error at /home/web/legendz/public_html/cgi-bin/vars_chat.cgi line 96, near "~ =>"
(called by /home/web/legendz/public_html/cgi-bin/cp_lib.cgi, 427)
<hr></blockquote>
Next, when I goto enter the chat room from the catagory page, I get this error:
[quote]quote:[/quote]
I've tried to re-hack it twice, with no luck. The error is persistant.
Here are the lines in which the errors are referring to...:
First Error:
<blockquote><font size="1" face="Verdana, Helvetica, Arial">code: Second Error: My opinions are that the first line is written wrong, maybe not. I'm not that great at writing CGI, so I'm probably wrong, but it does look wrong to me at least. For the second error, it's obvioulsy calling a template file that it's saying isn't there. I uploaded all the files to the right places, .pl files to templates, and .cgi files to cgi-bin, but no luck. I'll mess around with them a bit more, but if anyone can help, it would be greatly appreicated.
_________________________
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146226 - 08/23/01 12:44 PM
Re: [6.1x] Chat Mod v1.2.1
|
Member
Registered: 06/14/01
Posts: 164
|
LoL, I'm giving you a workout today LK! Here's another... After I fixed the last one, this came up: quote:</font><hr>Error
An error has occured:
Illegal division by zero at /home/web/legendz/public_html/cgi-bin/ubb_chat.cgi line 36.
Please inform the board administration of this error so that they may fix the problem. Thank you!
<hr></blockquote>
<blockquote><font size="1" face="Verdana, Helvetica, Arial">code: I checked my table widths and such in CP, and their "stock"...LoL Ideas on THIS one? Sorry LK about all the hassle..I thank you a million so far! [ August 23, 2001: Message edited by: V00D00 ]
_________________________
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146232 - 09/03/01 11:58 AM
Re: [6.1x] Chat Mod v1.2.1
|
Member
Registered: 06/07/01
Posts: 55
Loc: Texas
|
I installed the mod. I pretty much want it to be as generic for logged on users as possible, as my users are NOT too savvy. When I went in the room, I still saw that there was nobody in the chat room, so I changed the "no one in the chat room" message to "join the chat room". Also, I said "no" to having an about button, but I get one anyway. I'd like to make that "Disconnect" button big enough to see the word but don't know how. I sent JPilot his $49.99 begrudgingly since there is no log (going to try the mIRC route, but I did that the other day, and the autolog didn't work for me, just the manual log did). I have not got a registration number. I know regisoft says it may take up to a week. That is unacceptable. I would like to get it today. I think $49.99 is overpriced, so the guy could at least have a way to get you your number right away.
Thanks, LK for a great mod. I had hoped for 6.2 or at least 6.1 out of beta to do this but gave up waiting. The only other mod I don't have on that I really want is the hit mod, but I will wait for that.
I hope you can shed some light on my comments in the first paragraph.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146259 - 11/06/01 05:08 PM
Re: [6.1x] Chat Mod v1.2.1
|
Coder
Registered: 06/10/01
Posts: 705
Loc: CT
|
In the ubb_forum_summary file I have no instance of "while(<FILE>  {" I do have the news fader (and a few other modifications) modification but not sure if that has any bearing on this or not.
_________________________
...Steven Hostboard.com Running UBB v6.1.0.4 Doing what NO other UBB in the world is doing. The first & only production UBB powered by MySQL.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146261 - 11/06/01 11:17 PM
Re: [6.1x] Chat Mod v1.2.1
|
Member
Registered: 04/25/01
Posts: 224
|
UBB6.1 does not have that line in ubb_forum_summary.cgi . To fix your problem, in ubb_forum_summary.cgi: Find: ===== ThisGetsReplacedWithTheActualOnlineContentWhenReadFromTheCacheOrGenerated-->/$replace/; print; $_ = $handle -> readline(); Add below: ========== $_ =~ s/<!--ChatCount-->/$ChatHTML/g; $_ =~ s/<!--CHATINVITE-->/$invitehtml/; Find (AGAIN): ===== ThisGetsReplacedWithTheActualOnlineContentWhenReadFromTheCacheOrGenerated-->/$replace/; print; $_ = $handle -> readline(); Add below: ========== $_ =~ s/<!--ChatCount-->/$ChatHTML/g; $_ =~ s/<!--CHATINVITE-->/$invitehtml/; [ 11-06-2001: Message edited by: freeTV ]
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146263 - 11/07/01 06:27 AM
Re: [6.1x] Chat Mod v1.2.1
|
Coder
Registered: 06/10/01
Posts: 705
Loc: CT
|
LK, how about the WOL PHP version? Is that one ok? Thanx 
_________________________
...Steven Hostboard.com Running UBB v6.1.0.4 Doing what NO other UBB in the world is doing. The first & only production UBB powered by MySQL.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146265 - 11/07/01 08:25 AM
Re: [6.1x] Chat Mod v1.2.1
|
Coder
Registered: 06/10/01
Posts: 705
Loc: CT
|
I am probily going to have to pass on it then most likely due to the size of my system; 46,000+ registered users and 600+ forums and growing 
_________________________
...Steven Hostboard.com Running UBB v6.1.0.4 Doing what NO other UBB in the world is doing. The first & only production UBB powered by MySQL.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146278 - 11/12/01 04:40 PM
Re: [6.1x] Chat Mod v1.2.1
|
Coder
Registered: 06/10/01
Posts: 705
Loc: CT
|
Due to server load I do not want to run something like DigiChat which runs off the server. Does this use the client's side to connect or does it require intervention with the server as well?
_________________________
...Steven Hostboard.com Running UBB v6.1.0.4 Doing what NO other UBB in the world is doing. The first & only production UBB powered by MySQL.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146283 - 11/22/01 07:34 AM
Re: [6.1x] Chat Mod v1.2.1
|
Admin / Code Breaker
Registered: 03/24/01
Posts: 7396
|
Chat Mod v1.2 released! Features: supports PHP, fixes that bug. Rehack ubb_forum_summary.cgi, cp_lib.cgi, ultimatebb.php, public_forum_summary.pl and then update chat settings in the CP. Also upload the new ubb_chat.cgi if you didn't fix what I said before manually. However, I've never tried it with WOL for PHP and I looked at that code only to make the current ultimatebb.php code, so the invitation feature won't work in PHP. Good luck, it's almost totally untested. Demo: http://www.lkubb.dns2go.com/ubb/ultimatebb.php
_________________________
My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146312 - 12/25/01 03:58 AM
Re: [6.1x] Chat Mod v1.2.1
|
Junior Member
Registered: 12/23/01
Posts: 24
Loc: Rishon
|
problem!!! when i install that: at the page: ubb_forum_summary.cgi you write that need to find </font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr /><pre style="font-size:x-small;"> while(<FILE>  = ;+) (at the part that for the who's online) and i don't find that... what i need to do? <font color="#000000" size="1">[ 12-25-2001 04:01 AM: Message edited by: pSycHo mAn ]</font>
_________________________
GoodBye, Psycho mAn
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146315 - 12/25/01 07:42 AM
Re: [6.1x] Chat Mod v1.2.1
|
Member
Registered: 07/04/01
Posts: 32
Loc: Ohio
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146324 - 01/23/02 04:53 AM
Re: [6.1x] Chat Mod v1.2.1
|
Veteran
Registered: 02/22/02
Posts: 2575
Loc: England
|
Hi,
Last night I tried to install this hack, with the Mulithack version, grabbed from the database here.
It reported no errors, apart from the WOL ones, which I am not running.
However, it immediately crahed my site.
I restored the back-up files - and re-built the cache, but this morning the site is still down.
The current error is:-
Fatal error: Call to undefined function: chatcount() in /home/sites/site30/web/ubb/cache-CV55Y59H/ubb_files/forums/Forum13/000084.cgi on line 43
I have tried re-building the forums without joy, and clearing the cache etc. I have now had to disable the cache and the accelerator, to try and get the board up.
Any idea, what might have happened? Or how to correct it?
Thanks in advance for any assistance.
Ian.
_________________________
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146330 - 01/30/02 11:21 AM
Re: [6.1x] Chat Mod v1.2.1
|
Member
Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
|
Just a quick note I tried installing this on 6.2 and it works good. I found one part that does not work and need help if ($ubb eq 'chat') { if (-e "$vars_config{CGIPath}/vars_whos_online.cgi") { &RequireCode("$vars_config{CGIPath}/ubb_whos_online.cgi"); &WriteUserSession("<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=chat">$vars_wordlets_mods{whos_online_chatting}</a>", $user_number, $invisible_pref); } &RequireCode("$vars_config{CGIPath}/ubb_chat.cgi"); &chat; exit(0); } if ($vars_chat{Invite}) { if ($ubb eq 'newinvite') { &RequireCode("$vars_config{CGIPath}/ubb_chat.cgi"); &invite_form("$vars_wordlets_mods{invite_message}"); exit(0); } if ($ubb eq 'invite') { &GetOrPost("POST"); &RequireCode("$vars_config{CGIPath}/ubb_chat.cgi"); &invite; exit(0); } } I changed ubb_who and vars_who  to pntf if that is suppose to be done! I commented out the following line &WriteUserSession("<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=chat">$vars_wordlets_mods{whos_online_chatting}</a>", $user_number, $invisible_pref); casue this was causing compilation errors anyway this should help pinpoint any little things to help get it operational for 6.2  any help is appreciated LK
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146332 - 02/17/02 09:43 PM
Re: [6.1x] Chat Mod v1.2.1
|
Coder
Registered: 06/10/01
Posts: 705
Loc: CT
|
I was previouly running jIRC 2.5.1 and wanted to upgrade to the latest version so I downloaded the latest version of jIRC, uloaded sound_join.au, jirc_mss.cab, jirc_pure.zip & jirc_nss.zip but the screen * "about" still say 2.5.1 I tried to clear out my cache and cleared the cache of the system. What am I or not doing properly?
_________________________
...Steven Hostboard.com Running UBB v6.1.0.4 Doing what NO other UBB in the world is doing. The first & only production UBB powered by MySQL.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146333 - 02/18/02 09:09 AM
Re: [6.1x] Chat Mod v1.2.1
|
Coder
Registered: 06/10/01
Posts: 705
Loc: CT
|
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by 1QuickSI: I was previouly running jIRC 2.5.1 and wanted to upgrade to the latest version so I downloaded the latest version of jIRC, uloaded sound_join.au, jirc_mss.cab, jirc_pure.zip & jirc_nss.zip but the screen * "about" still say 2.5.1 I tried to clear out my cache and cleared the cache of the system. What am I or not doing properly?</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">Never mind browser caching problem 
_________________________
...Steven Hostboard.com Running UBB v6.1.0.4 Doing what NO other UBB in the world is doing. The first & only production UBB powered by MySQL.
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#146334 - 02/21/02 06:18 AM
Re: [6.1x] Chat Mod v1.2.1
|
Veteran
Registered: 02/22/02
Posts: 2575
Loc: England
|
Hi, Managed to get my board back up last time, and decided today to give it another go. However upon installation, and clearing my cache, the baord crashed again, this time saying that ultimatebb.cgi had aborted due to complilation errors I re-hacked the file, and also re-hacked ultimatebb.php. But still the board failed. I have now restored the backup, and we are back up. Any ideas as to what the matter can be. Still running 6.1.0.4 The only thing possibly missing is public_forum_page.cgi, which is listed in your list of modified files, but does not appear to be modified. Regards, Ian
_________________________
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|